Ext.define('Risk.store.UserStore', {
    extend: 'Ext.data.Store',
    model: 'Risk.model.User',
    autoLoad: true,
    proxy: {
    //Ajax request
        type: 'ajax',
        api: {
            read: 'app/data/users.json',
            update: 'app/data/updateUsers.json',
//          create  : undefined,
//          read    : undefined,
//          update  : undefined,
//          destroy : undefined
        },
        reader: {
            type: 'json',
            root: 'users',
            successProperty: 'success'
        }
    }
});